'use strict';

function get_letter_interval(number_a, number_b) {
  var result=new Array();
  if(number_a<number_b){
    for(var i=number_a;i<=number_b;i++){
      result.push(String.fromCharCode(96+i))
    }
  }
  else if(number_a>number_b){
    for(var i=number_a;i>=number_b;i--){
      result.push(String.fromCharCode(96+i))
    }
  }
  else{
    result.push(String.fromCharCode(96+number_a))
  }
  return result;
}
module.exports = get_letter_interval;
